[INFO] fetching crate ddc-winapi 0.2.0...
[INFO] building ddc-winapi-0.2.0 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate ddc-winapi 0.2.0 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate ddc-winapi 0.2.0 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate ddc-winapi 0.2.0
[INFO] finished tweaking crates.io crate ddc-winapi 0.2.0
[INFO] tweaked toml for crates.io crate ddc-winapi 0.2.0 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc41e38c1d4cabb11aca85c45c58fb2bb5473de719926bae90bb79d7cd5c9c6d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "dc41e38c1d4cabb11aca85c45c58fb2bb5473de719926bae90bb79d7cd5c9c6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc41e38c1d4cabb11aca85c45c58fb2bb5473de719926bae90bb79d7cd5c9c6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc41e38c1d4cabb11aca85c45c58fb2bb5473de719926bae90bb79d7cd5c9c6d", kill_on_drop: false }`
[INFO] [stdout] dc41e38c1d4cabb11aca85c45c58fb2bb5473de719926bae90bb79d7cd5c9c6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4233b25e76169da2c60ca3145553809fbf8703f915e8fe773689f53ce50d1920
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4233b25e76169da2c60ca3145553809fbf8703f915e8fe773689f53ce50d1920", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling widestring v0.3.0
[INFO] [stderr]    Compiling mccs v0.1.0
[INFO] [stderr]    Compiling ddc v0.2.2
[INFO] [stderr]    Compiling ddc-winapi v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 | use winapi::shared::windef::{HMONITOR, HDC, LPRECT};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:29:13
[INFO] [stdout]    |
[INFO] [stdout] 29 | use winapi::shared::minwindef::{LPARAM, BYTE, DWORD, BOOL, TRUE};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 | use winapi::um::winnt::HANDLE;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winapi/physicalmonitorenumerationapi.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::minwindef::{BOOL, DWORD, LPDWORD};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winapi/physicalmonitorenumerationapi.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::windef::HMONITOR;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winnt::{HANDLE, WCHAR};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/winapi/lowlevelmonitorconfigurationapi.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::shared::minwindef::{BYTE, DWORD, LPDWORD};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winnt::{HANDLE, LPSTR};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `STRUCT` in this scope
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | STRUCT!{struct PHYSICAL_MONITOR {
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `STRUCT` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:11:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | STRUCT!{struct MC_TIMING_REPORT {
[INFO] [stdout]    | ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `ENUM` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | ENUM!{enum MC_VCP_CODE_TYPE {
[INFO] [stdout]    | ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:254:17
[INFO] [stdout]     |
[INFO] [stdout] 254 |         winapi::um::winuser::EnumDisplayMonitors(ptr::null_mut(), ptr::null(), Some(callback), userdata as _)
[INFO] [stdout]     |                 ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub type _BOOL = BOOL;
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:17:36
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub type LPPHYSICAL_MONITOR = *mut PHYSICAL_MONITOR;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:21:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |         hMonitor: HMONITOR,
[INFO] [stdout]    |                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:22:37
[INFO] [stdout]    |
[INFO] [stdout] 22 |         pdwNumberOfPhysicalMonitor: LPDWORD,
[INFO] [stdout]    |                                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |         hMonitor: HMONITOR,
[INFO] [stdout]    |                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 |         dwPhysicalMonitorArraySize: DWORD,
[INFO] [stdout]    |                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:30:19
[INFO] [stdout]    |
[INFO] [stdout] 30 |         hMonitor: HANDLE,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/winapi/physicalmonitorenumerationapi.rs:33:37
[INFO] [stdout]    |
[INFO] [stdout] 33 |         dwPhysicalMonitorArraySize: DWORD,
[INFO] [stdout]    |                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MC_TIMING_REPORT` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type LPMC_TIMING_REPORT = *mut MC_TIMING_REPORT;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MC_VCP_CODE_TYPE` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:21:36
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub type LPMC_VCP_CODE_TYPE = *mut MC_VCP_CODE_TYPE;
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |         hMonitor: HANDLE,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:26:19
[INFO] [stdout]    |
[INFO] [stdout] 26 |         bVCPCode: BYTE,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:28:26
[INFO] [stdout]    |
[INFO] [stdout] 28 |         pdwCurrentValue: LPDWORD,
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 |         pdwMaximumValue: LPDWORD,
[INFO] [stdout]    |                          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:32:19
[INFO] [stdout]    |
[INFO] [stdout] 32 |         hMonitor: HANDLE,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |         bVCPCode: BYTE,
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:34:21
[INFO] [stdout]    |
[INFO] [stdout] 34 |         dwNewValue: DWORD,
[INFO] [stdout]    |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:37:19
[INFO] [stdout]    |
[INFO] [stdout] 37 |         hMonitor: HANDLE,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 |         hMonitor: HANDLE,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:41:50
[INFO] [stdout]    |
[INFO] [stdout] 41 |         pdwCapabilitiesStringLengthInCharacters: LPDWORD,
[INFO] [stdout]    |                                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 44 |         hMonitor: HANDLE,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPSTR` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:45:37
[INFO] [stdout]    |
[INFO] [stdout] 45 |         pszASCIICapabilitiesString: LPSTR,
[INFO] [stdout]    |                                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:46:49
[INFO] [stdout]    |
[INFO] [stdout] 46 |         dwCapabilitiesStringLengthInCharacters: DWORD,
[INFO] [stdout]    |                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/winapi/lowlevelmonitorconfigurationapi.rs:49:19
[INFO] [stdout]    |
[INFO] [stdout] 49 |         hMonitor: HANDLE,
[INFO] [stdout]    |                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope
[INFO] [stdout]   --> src/lib.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 |     monitor: PHYSICAL_MONITOR,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/winapi/physicalmonitorenumerationapi.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub type LPPHYSICAL_MONITOR = *mut PHYSICAL_MONITOR;
[INFO] [stdout]    | ---------------------------------------------------- similarly named type alias `LPPHYSICAL_MONITOR` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope
[INFO] [stdout]   --> src/lib.rs:51:32
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub unsafe fn new(monitor: PHYSICAL_MONITOR) -> Self {
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `LPPHYSICAL_MONITOR`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/winapi/physicalmonitorenumerationapi.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub type LPPHYSICAL_MONITOR = *mut PHYSICAL_MONITOR;
[INFO] [stdout]    | ---------------------------------------------------- similarly named type alias `LPPHYSICAL_MONITOR` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/lib.rs:77:29
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn handle(&self) -> HANDLE {
[INFO] [stdout]    |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MC_TIMING_REPORT` in this scope
[INFO] [stdout]   --> src/lib.rs:82:58
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn winapi_get_timing_report(&self) -> io::Result<MC_TIMING_REPORT> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/winapi/lowlevelmonitorconfigurationapi.rs:16:1
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub type LPMC_TIMING_REPORT = *mut MC_TIMING_REPORT;
[INFO] [stdout]    | ---------------------------------------------------- similarly named type alias `LPMC_TIMING_REPORT` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 82 |     pub fn winapi_get_timing_report(&self) -> io::Result<LPMC_TIMING_REPORT> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 49 | impl<MC_TIMING_REPORT> Monitor {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:85:63
[INFO] [stdout]    |
[INFO] [stdout] 85 |             if GetTimingReport(self.handle(), &mut report) != TRUE {
[INFO] [stdout]    |                                                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope
[INFO] [stdout]   --> src/lib.rs:94:48
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn winapi_set_vcp_feature(&self, code: BYTE, value: DWORD) -> io::Result<()> {
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/lib.rs:94:61
[INFO] [stdout]    |
[INFO] [stdout] 94 |     pub fn winapi_set_vcp_feature(&self, code: BYTE, value: DWORD) -> io::Result<()> {
[INFO] [stdout]    |                                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/lib.rs:96:61
[INFO] [stdout]    |
[INFO] [stdout] 96 |             if SetVCPFeature(self.handle(), code, value) != TRUE {
[INFO] [stdout]    |                                                             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/lib.rs:107:54
[INFO] [stdout]     |
[INFO] [stdout] 107 |             if SaveCurrentSettings(self.handle()) != TRUE {
[INFO] [stdout]     |                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope
[INFO] [stdout]    --> src/lib.rs:119:70
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> {
[INFO] [stdout]     |                                                                      ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MC_VCP_CODE_TYPE` in this scope
[INFO] [stdout]    --> src/lib.rs:119:91
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> {
[INFO] [stdout]     |                                                                                           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/winapi/lowlevelmonitorconfigurationapi.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  | pub type LPMC_VCP_CODE_TYPE = *mut MC_VCP_CODE_TYPE;
[INFO] [stdout]     | ---------------------------------------------------- similarly named type alias `LPMC_VCP_CODE_TYPE` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 119 |     pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(LPMC_VCP_CODE_TYPE, DWORD, DWORD)> {
[INFO] [stdout]     |                                                                                           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 49  | impl<MC_VCP_CODE_TYPE> Monitor {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:119:109
[INFO] [stdout]     |
[INFO] [stdout] 49  | impl Monitor {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> {
[INFO] [stdout]     |                                                                                                             ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:119:116
[INFO] [stdout]     |
[INFO] [stdout] 49  | impl Monitor {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub fn winapi_get_vcp_feature_and_vcp_feature_reply(&self, code: BYTE) -> io::Result<(MC_VCP_CODE_TYPE, DWORD, DWORD)> {
[INFO] [stdout]     |                                                                                                                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/lib.rs:124:105
[INFO] [stdout]     |
[INFO] [stdout] 124 |             if GetVCPFeatureAndVCPFeatureReply(self.handle(), code, &mut ty, &mut current, &mut max) != TRUE {
[INFO] [stdout]     |                                                                                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/lib.rs:134:71
[INFO] [stdout]     |
[INFO] [stdout] 49  | impl Monitor {
[INFO] [stdout]     |     - help: you might be missing a type parameter: `<DWORD>`
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn winapi_get_capabilities_string_length(&self) -> io::Result<DWORD> {
[INFO] [stdout]     |                                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/lib.rs:137:72
[INFO] [stdout]     |
[INFO] [stdout] 137 |             if GetCapabilitiesStringLength(self.handle(), &mut len) != TRUE {
[INFO] [stdout]     |                                                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/lib.rs:150:124
[INFO] [stdout]     |
[INFO] [stdout] 150 |             if CapabilitiesRequestAndCapabilitiesReply(self.handle(), string.as_mut_ptr() as *mut _, string.len() as _) != TRUE {
[INFO] [stdout]     |                                                                                                                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]    --> src/lib.rs:227:53
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result<Vec<PHYSICAL_MONITOR>> {
[INFO] [stdout]     |                                                     ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope
[INFO] [stdout]    --> src/lib.rs:227:81
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result<Vec<PHYSICAL_MONITOR>> {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/winapi/physicalmonitorenumerationapi.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout] 17  | pub type LPPHYSICAL_MONITOR = *mut PHYSICAL_MONITOR;
[INFO] [stdout]     | ---------------------------------------------------- similarly named type alias `LPPHYSICAL_MONITOR` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn get_physical_monitors_from_hmonitor(monitor: HMONITOR) -> io::Result<Vec<LPPHYSICAL_MONITOR>> {
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn get_physical_monitors_from_hmonitor<PHYSICAL_MONITOR>(monitor: HMONITOR) -> io::Result<Vec<PHYSICAL_MONITOR>> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/lib.rs:230:74
[INFO] [stdout]     |
[INFO] [stdout] 230 |         if GetNumberOfPhysicalMonitorsFromHMONITOR(monitor, &mut len) != TRUE {
[INFO] [stdout]     |                                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope
[INFO] [stdout]    --> src/lib.rs:234:47
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let mut monitors = vec![mem::zeroed::<PHYSICAL_MONITOR>(); len as usize];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/winapi/physicalmonitorenumerationapi.rs:17:1
[INFO] [stdout]     |
[INFO] [stdout] 17  | pub type LPPHYSICAL_MONITOR = *mut PHYSICAL_MONITOR;
[INFO] [stdout]     | ---------------------------------------------------- similarly named type alias `LPPHYSICAL_MONITOR` defined here
[INFO] [stdout]     |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 234 |         let mut monitors = vec![mem::zeroed::<LPPHYSICAL_MONITOR>(); len as usize];
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub fn get_physical_monitors_from_hmonitor<PHYSICAL_MONITOR>(monitor: HMONITOR) -> io::Result<Vec<PHYSICAL_MONITOR>> {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/lib.rs:235:84
[INFO] [stdout]     |
[INFO] [stdout] 235 |         if GetPhysicalMonitorsFromHMONITOR(monitor, len, monitors.as_mut_ptr()) != TRUE {
[INFO] [stdout]     |                                                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]    --> src/lib.rs:244:47
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub fn enumerate_monitors() -> io::Result<Vec<HMONITOR>> {
[INFO] [stdout]     |                          -                    ^^^^^^^^ not found in this scope
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          help: you might be missing a type parameter: `<HMONITOR>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]    --> src/lib.rs:245:49
[INFO] [stdout]     |
[INFO] [stdout] 245 |     unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]    --> src/lib.rs:245:73
[INFO] [stdout]     |
[INFO] [stdout] 245 |     unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope
[INFO] [stdout]    --> src/lib.rs:245:85
[INFO] [stdout]     |
[INFO] [stdout] 245 |     unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/lib.rs:245:103
[INFO] [stdout]     |
[INFO] [stdout] 245 |     unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> src/lib.rs:245:114
[INFO] [stdout]     |
[INFO] [stdout] 245 |     unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                                                                  ^^^^ help: a type alias with a similar name exists: `_BOOL`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: src/winapi/physicalmonitorenumerationapi.rs:11:1
[INFO] [stdout]     |
[INFO] [stdout] 11  | pub type _BOOL = BOOL;
[INFO] [stdout]     | ---------------------- similarly named type alias `_BOOL` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]    --> src/lib.rs:246:32
[INFO] [stdout]     |
[INFO] [stdout] 245 |     unsafe extern "system" fn callback(monitor: HMONITOR, _hdc_monitor: HDC, _lprc: LPRECT, userdata: LPARAM) -> BOOL {
[INFO] [stdout]     |                                       - help: you might be missing a type parameter: `<HMONITOR>`
[INFO] [stdout] 246 |         let monitors: &mut Vec<HMONITOR> = mem::transmute(userdata);
[INFO] [stdout]     |                                ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/lib.rs:248:9
[INFO] [stdout]     |
[INFO] [stdout] 248 |         TRUE
[INFO] [stdout]     |         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]    --> src/lib.rs:251:30
[INFO] [stdout]     |
[INFO] [stdout] 244 | pub fn enumerate_monitors() -> io::Result<Vec<HMONITOR>> {
[INFO] [stdout]     |                          - help: you might be missing a type parameter: `<HMONITOR>`
[INFO] [stdout] ...
[INFO] [stdout] 251 |     let mut monitors = Vec::<HMONITOR>::new();
[INFO] [stdout]     |                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/lib.rs:255:10
[INFO] [stdout]     |
[INFO] [stdout] 255 |     } != TRUE {
[INFO] [stdout]     |          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]   --> src/lib.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | #[macro_use]
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 68 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ddc-winapi`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "4233b25e76169da2c60ca3145553809fbf8703f915e8fe773689f53ce50d1920", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4233b25e76169da2c60ca3145553809fbf8703f915e8fe773689f53ce50d1920", kill_on_drop: false }`
[INFO] [stdout] 4233b25e76169da2c60ca3145553809fbf8703f915e8fe773689f53ce50d1920
